


NEO4J_QUERY_ENTERPRISE = {
        'nodeQuery':"match (n:`企业`) -[r:`投标`]->(m:`工程项目标段`) return distinct id(n) as id",
        'relationshipQuery':"match (n:`企业`) -[r:`投标`]->(m:`工程项目标段`)<-[b:`投标`]-(a:`企业`)  return id(n) as source,id(a) as  target",
}


NEO4J_ENTERPRISER_BIDDING_RELATION  = 'match (n:`企业`) -[r:`投标`]->(m:`工程项目标段`)<-[b:`投标`]-(a:`企业`)  return id(n) as source,id(a) as  target '


# 跟新
NEORJ_QUERY_update_cluster_to_enterprise= '''
UNWIND $updates AS updateMap
    MATCH (n) WHERE id(n) = updateMap.nodeId
    SET n += updateMap.valueMap
'''